﻿#region Using Directives
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
#endregion

namespace XML_to_Csv
{
    class Program
    {
        static void Main(string[] args)
        {
            XmlReader reader = XmlReader.Create(new StreamReader(@"C:\TMP\pippo.xml"));
            reader.ReadToFollowing("user");
            reader.MoveToFirstAttribute();
            string xxxx = reader.Value.ToString();
            /// 
            

        }
    }
}

//<?xml version="1.0" encoding="utf-8"?>
//<DocumentElement>
//  <user>
//    <FName>Bhaumik</FName>
//    <LName>Shah</LName>
//    <DisplayName>Bhaumik Shah</DisplayName>
//    <Title>Accounts Assistant</Title>
//    <Company>Randstad Technologies Ltd</Company>
//    <Office>London</Office>
//    <Phone>020 7255 5517</Phone>
//    <Fax></Fax>
//    <Email>Bhaumik.Shah@randstadtechnologies.com</Email>
//    <Address>UK House, 180 Oxford Street</Address>
//    <City>London</City>
//    <State></State>
//    <Postal></Postal>
//    <Supervisor></Supervisor>
//  </user>